export const mixin = {
  data () {
    return {
      settlementTypeList: [
        {
          key: 1,
          value: '票结'
        },
        {
          key: 2,
          value: '月结'
        }
      ],
    }
  },
  methods: {
    checkSettlementTypeName (id) {
      let settlementTypeNameString = '--'
      this.settlementTypeList.forEach(v => {
        if (v.key === id) {
          settlementTypeNameString = v.value
        }
      })
      return settlementTypeNameString
    }
  }
}
